package org.crown.project.api.module.demo.service;

import com.github.pagehelper.PageInfo;
import org.crown.framework.service.BaseService;
import org.crown.project.api.module.demo.domain.Demo;

/**
 * <p>
 * 票子 接口服务类
 * </p>
 *
 * @author WuFengSheng
 * @since 2020-03-07
 */
public interface DemoService extends BaseService<Demo> {

    /**
      * 分页查询
      *
      * @param pageNum
      * @param pageSize
      * @param demo
      * @return
      */
    PageInfo<Demo> page(int pageNum, int pageSize, Demo demo);


}
